-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Refactor build step to add DevOps logging #52879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Replaced inline dotnet test commands with a script call to runwithdevopslogging.ps1 for better logging and organization.
|
/azp run net - template |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - core |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - core - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Refactors build and test pipeline steps to wrap dotnet pack/test invocations with a new PowerShell helper for improved Azure DevOps logging.
- Adds runwithdevopslogging.ps1 to invoke msbuild commands with enhanced logging.
- Replaces script steps with pwsh and attempts to route dotnet pack/test through the logging wrapper.
- Adjusts argument quoting in test and build YAML steps (introducing some issues).
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| eng/scripts/runwithdevopslogging.ps1 | New helper script intended to wrap msbuild/dotnet invocations with enhanced logging. |
| eng/pipelines/templates/steps/build.yml | Updated build steps to call the new logging script before dotnet pack. |
| eng/pipelines/templates/jobs/live.tests.yml | Modified live test job to insert logging script and altered argument quoting for filters and loggers. |
| eng/pipelines/templates/jobs/ci.tests.yml | Updated CI test job similarly, adding logging script and changing filter/logger argument quoting. |
Co-authored-by: Copilot <[email protected]>
|
/azp run net - core - tests |
|
/azp run net - core |
|
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - pullrequest |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - core |
|
/azp run net - core - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - signalr |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - eventgrid - functions |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - core |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Trying to improve the error logging for build commands.